/**
 * Created by asus on 2017/5/2.
 */
/**
 * Created by asus on 2017/4/28.
 */
import actions from './action'
import mutations from './mutation'

let state = {
  totalCount: 0,
  currentPage: 1,
  affiches: [],
  editingAffiche: null,
  pageModel: 'ADD'
}


const getters = {
  getAffiches: state => state.affiches,
  getEditingAffiche: state => state.editingAffiche,
  getAffichePageModel: state => state.pageModel,
  getSysAfficheCurrentPage: state => state.currentPage,
  getSysAfficheTotalCount: state => state.totalCount
}

export default {
  state,
  getters,
  actions,
  mutations
};
